import os

output = 'output-x86/'

env = DefaultEnvironment(
  CFLAGS = '',
  CCFLAGS = '-std=c++14 -DOS_UNIX',
  LIBS = '',
  LIBPATH = '',
  CPPPATH = '',
  LINKFLAGS = '',
  OUT_DIR = output,
  OBJ_DIR = output+'objects/',
  BIN_DIR = output+'bin/',
  LIB_DIR = output+'lib/',
  INC_DIR = output+'include/',
)

SConscriptFiles = [
    'opensource/libemb/SConscript',
    'test/SConscript',
]

# 子目录
SConscript('opensource/eigen/SConscript',variant_dir=env['OBJ_DIR']+'eigen/',duplicate=0)
SConscript('opensource/libcjson/SConscript',variant_dir=env['OBJ_DIR']+'libcjson/',duplicate=0)
SConscript('opensource/libemb/SConscript',variant_dir=env['OBJ_DIR']+'libemb/',duplicate=0)